/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */

module.exports = {
    server: {
        command: `npm run start:test -- --no-live-reload --port ${process.env["PORT"]}`,
        port: process.env["PORT"],
        launchTimeout: 10000,
        usedPortAction: 'error'
    },
    launch: {
        args: ['--no-sandbox', '--disable-setuid-sandbox'], // https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md#setting-up-chrome-linux-sandbox
        dumpio: process.env.FLUID_TEST_VERBOSE !== undefined // output browser console to cmd line
        // slowMo: 500, // slows down process for easier viewing
        // headless: false, // run in the browser
    },
};
